package homework0306;

import java.io.File;

public class ListFilesDemo1 {
    public static void main(String[] args) {
        File dir=new File(".");
        File[] subs=dir.listFiles();
        for (File sub :subs){
            System.out.println(sub.getName());
        }
    }
}
